home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form frmMain
- Caption = "VBMusic"
- ClientHeight = 495
- ClientLeft = 60
- ClientTop = 345
- ClientWidth = 5535
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 495
- ScaleWidth = 5535
- StartUpPosition = 3 'Windows Default
- Begin VB.CommandButton Command5
- Caption = "Restart"
- Height = 255
- Left = 4440
- TabIndex = 4
- Top = 120
- Width = 975
- End
- Begin VB.CommandButton Command4
- Caption = "Stop"
- Height = 255
- Left = 3360
- TabIndex = 3
- Top = 120
- Width = 975
- End
- Begin VB.CommandButton Command3
- Caption = "Resume"
- Height = 255
- Left = 2280
- TabIndex = 2
- Top = 120
- Width = 975
- End
- Begin VB.CommandButton Command2
- Caption = "Pause"
- Height = 255
- Left = 1200
- TabIndex = 1
- Top = 120
- Width = 975
- End
- Begin VB.CommandButton Command1
- Caption = "Play"
- Height = 255
- Left = 120
- TabIndex = 0
- Top = 120
- Width = 975
- End
- Attribute VB_Name = "frmMain"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Dim myMusic As New CDXVBMusic
- Private Sub Command1_Click()
- myMusic.PlayMusic "vbmusic.mid"
- End Sub
- Private Sub Command2_Click()
- myMusic.PauseMusic
- End Sub
- Private Sub Command3_Click()
- myMusic.ResumeMusic
- End Sub
- Private Sub Command4_Click()
- myMusic.StopMusic
- End Sub
- Private Sub Command5_Click()
- myMusic.RestartMusic
- End Sub
- Private Sub Form_Load()
- myMusic.Create Me.hWnd
- End Sub
-